package com.tiny.work.plane.factory;

import com.tiny.work.plane.AutoPilotModel;
import com.tiny.work.plane.IModel;
import java.math.BigDecimal;

public class AutoModelFactory implements IFactory {

    @Override
    public IModel createModel(BigDecimal oilPerKm, BigDecimal hourPerKm) {
        return new AutoPilotModel(oilPerKm, hourPerKm);

    }

    @Override
    public IModel createModel(BigDecimal oilPerKm, BigDecimal hourPerKm, BigDecimal oilPerKmIrritable,
        BigDecimal hourPerKmIrritabl) {
        return null;
    }
}
